package com.blkj.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 北浪 2021/11/19
 */
@Data
@TableName("blog_user")
public class UserEntity implements Serializable {
    //用户ID
    @TableId(type = IdType.AUTO)
    private String userId;
    //用户名
    private String username;
    //密码
    private String password;
    //网名
    private String nickname;
    //邮箱
    private String email;
    //简介
    private String profile;
    //头像地址
    private String headImg;
    //角色
    private String role;
    //创建时间
    private Date createDate;
    //上次修改时间
    private Date updateDate;
    //状态
    private Integer status;
}
